package thinkingJava.chapter10;

public class Parcel7b {
	class PContents implements Contents {
		private int i = 11;

		@Override
		public int value() {
			return i;
		}

	}
	public Contents contents () {
		return new PContents();
	}
	public static void main(String[] args) {
		Parcel7b pb = new Parcel7b();
		Contents c = pb.contents();
		System.out.println(c);
	}
}
